<style>
	.block-mb15{
		display: inline-block;margin-bottom: 15px;
	}
</style>
<div class="container-fluid" style="padding: 20px 10px 0px 10px">
	<div class="row-fluid">
		<div class="well">
		    <ul class="nav nav-tabs">
		      <li class="active"><b></b></li>
		    </ul>
		    <div id="myTabContent" class="tab-content">
				<div class="tab-pane active in" id="home">
					<form id="formid" action="/consume/editProConsume" method="post">
						<span class="block-mb15" style="margin-left: 13px;">操作护士：<input type="text" value="<?=$getData['operate_nurse']?>" placeholder="操作护士" style="width:200px;margin-left: 5px;" name="operate_nurse" class="operate_nurse">
						</span><br/>

						<span class="block-mb15" style="margin-left: 14px;">操作医生：<input type="text" value="<?=$getData['operate_doctor']?>" placeholder="操作医生" style="width:200px;margin-left: 5px;" name="operate_doctor" class="operate_doctor">
						</span><br/>

						<span class="block-mb15" style="margin-left: 14px;">操作地点：<input type="text" value="<?=$getData['operate_place']?>" placeholder="操作地点" style="width:200px;margin-left: 5px;" name="operate_place" class="operate_place">
						</span><br/>

						<input type="hidden" value="<?=$getData['card_id']?>" name="card_id">
						<input type="hidden" value="1" name="dosubmit" />
					</form>
				</div>
				<div class="btn-toolbar">
				    <button class="btn btn-primary" id="btn-save" style="margin:18px 0 0 88px"><i class="icon-save"></i> 保存</button>
				  <div class="btn-group">
				  </div>
				</div>
			</div>
		</div>
	</div>
</div>
<script>
$(function() {
	$('#btn-save').click(function () {
		var v1 = $('input[name="operate_nurse"]').val();
		var v2 = $('input[name="operate_doctor"]').val();
		var v3 = $('input[name="operate_place"]').val();
		if(!v1 && !v2 && !v3){
			showmsg('请填写正确的信息');
			return false;
		}
		$('#formid').submit();

	})
})
</script>